package com.chixing.day04_oop;

/**
 * 构造函数的作用：初始化对象 initial object
 */
public class CarTest {
    public static void main(String[] args) {
        Car car1 = new Car();
        car1.setCarId(11);
        car1.setCarName("dds");

        Car car2 = new Car(12,"ddd");
    }
}
